import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import store from './stores/index.js'
import ElementPlus from 'element-plus';
import Antd from 'ant-design-vue';
import 'element-plus/dist/index.css'
import  zhCn from 'element-plus/es/locale/lang/zh-cn'
import router from "./router.js";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App);
app.use(Antd)
app.use(store);
app.use(router);
app.use(ElementPlus,{locale:zhCn});
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount('#app')



//路由
//状态
//视图
//组件
//api
